package com.weight.system.sysoper.VO;

import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import com.alibaba.fastjson.annotation.JSONField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 账号信息表
 */
@Data
public class SysOperInfoVO implements Serializable {

	private static final long serialVersionUID = 2814639517974791520L;

	@Excel(name = "账号id")
	@JSONField(name = "operId")
	private String operId; //账号id

	@Excel(name = "用户名")
	@NotBlank(message = "用户名不能为空")
	@JSONField(name = "operUname")
	private String operUname; //用户名

	@Excel(name = "密码")
	@NotBlank(message = "密码不能为空")
	@JSONField(name = "operPwd")
	private String operPwd; //密码

	@Excel(name = "加密盐")
	@NotBlank(message = "加密盐不能为空")
	@JSONField(name = "opeSalt")
	private String opeSalt; //加密盐

	@Excel(name = "员工id")
	@NotBlank(message = "员工id不能为空")
	@JSONField(name = "userId")
	private String userId; //员工id
	
	@Excel(name = "员工名")
	@JSONField(name = "userName")
	private String userName; //员工名

	@Excel(name = "机构id")
	@NotBlank(message = "机构id不能为空")
	@JSONField(name = "orgId")
	private String orgId; //机构id
	
	@Excel(name = "机构名")
	@JSONField(name = "orgName")
	private String orgName; //机构名
	
	@Excel(name = "关联手机号")
	@NotBlank(message = "关联手机号不能为空")
	@JSONField(name = "operTel")
	private String operTel; //关联手机号

	@Excel(name = "账号状态")
	@NotNull(message = "账号状态不能为空")
	@JSONField(name = "operStatus")
	private Integer operStatus; //账号状态

	@Excel(name = "描述")
	@NotBlank(message = "描述不能为空")
	@JSONField(name = "operDesc")
	private String operDesc; //描述

	private String standbyfield1; //级别
	public  SysOperInfoVO(){
		super();
	}

	public  SysOperInfoVO(String operId,String operUname,String operPwd,String opeSalt,String userId,String orgId,String operTel,Integer operStatus,String operDesc){
		super();
		this.operId = operId;
		this.operUname = operUname;
		this.operPwd = operPwd;
		this.opeSalt = opeSalt;
		this.userId = userId;
		this.orgId = orgId;
		this.operTel = operTel;
		this.operStatus = operStatus;
		this.operDesc = operDesc;
	}

}